cmake_minimum_required(VERSION 3.11)
project(NetRadio)

set(CMAKE_CXX_STANDARD 14)

add_executable(NetRadio-Server Server.cpp Server.hpp
        ../include/Protocol.cpp ../include/Protocol.hpp
        ../include/NetRadioType.cpp ../include/NetRadioType.hpp
        MediaLib.cpp MediaLib.hpp
        ThreadList.cpp ThreadList.hpp
        ThreadChannel.cpp ThreadChannel.hpp
        TBF.cpp TBF.hpp)

target_link_libraries(NetRadio-Server pthread)

